package com.gcxy.dto.agency;

import com.gcxy.core.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * Copyright (C), 2024-2024, BUG闭退！
 * Author: Huang先森
 * Date: 2024/7/24 14:41
 * FileName: AgencyPageDTO
 * Description:
 */
@Data
public class AgencyPageDTO extends PageDTO {

    @Length(max = 20, message = "组织名称不能超过20个字符")
    @ApiModelProperty(value = "组织名称")
    private String name;

    @ApiModelProperty(value = "组织id")
    private Integer id;
}
